package com.jingtai.core.entity.supply;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 供应商商品表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_supply_goods")
@ApiModel(value = "供应商商品表", description = "供应商商品表")
public class SupplyGoods  extends BaseEntity implements Serializable {




	/**
	 * 供应商ID
	 */
	@CApiModelProperty(value = "供应商ID",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Long supplyId;

	/**
	 * 类别ID
	 */
	@CApiModelProperty(value = "类别ID",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Long categoryId;

	/**
	 * 店铺ID
	 */
	@CApiModelProperty(value = "店铺ID",groups = {Create.class,Update.class})
	private Long storeId;

	/**
	 * 商品编码
	 */
	@CApiModelProperty(value = "商品编码")
	private String goodsCode;

	/**
	 * 商品列表页标题
	 */
	@CApiModelProperty(value = "商品列表页标题",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String goodsListTitle;

	/**
	 * 商品主图
	 */
	@CApiModelProperty(value = "商品主图",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String mainFigure;

	/**
	 * 单价
	 */
	@CApiModelProperty(value = "单价",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private BigDecimal unitPrice;

	/**
	 * 最低拿货量
	 */
	@CApiModelProperty(value = "最低拿货量",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer minimumSize;

	/**
	 * 是否包邮 0：非包邮1：包邮
	 */
	@CApiModelProperty(value = "是否包邮 0：非包邮1：包邮",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer isPackageMail;

	/**
	 * 发货地——省
	 */
	@CApiModelProperty(value = "发货地——省",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String deliveryProvince;

	/**
	 * 发货地——市
	 */
	@CApiModelProperty(value = "发货地——市",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String deliveryCity;

	/**
	 * 发货地——区
	 */
	@CApiModelProperty(value = "发货地——区",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String deliveryArea;

	/**
	 * 发货地——详细地址
	 */
	@CApiModelProperty(value = "发货地——详细地址",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String deliveryAddress;

	/**
	 * 平台回复
	 */
	@CApiModelProperty(value = "平台回复",groups = {Create.class,Update.class})
	private String platformReply;

	/**
	 * 处理状态 10待处理  20已处理  30已完成   40未完成   50已撤销
	 */
	@CApiModelProperty(value = "处理状态",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer applyState;

	/**
	 * 商品状态 0：正常1：从列表下架2：从仓库下架
	 */
	@CApiModelProperty(value = "商品状态 0：正常1：从列表下架2：从仓库下架",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer goodsState;

	/**
	 * 推荐状态 0：非优选1：优选
	 */
	@CApiModelProperty(value = "推荐状态 0：非优选1：优选",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer recommendedState;

}
